package bbb.sequence;

import java.util.List;

public class AnalyzeResult {

	private List<SingleResult> results;

	public void printAllResult(){
		for(SingleResult sr : results){
			System.out.println(sr.getCount()+" = "+sr.getCost()+" = " + sr.getAward());
		}
	}
	
	public void printTotal(){
		int t = results.size();
		int tc = 0;
		int ta = 0;
		for(SingleResult sr : results){
			tc += sr.getCost();
			ta += sr.getAward();
		}
		System.out.println("====>"+t +" = " + tc +" = " + ta );
	}
	public List<SingleResult> getResults() {
		return results;
	}

	public void setResults(List<SingleResult> results) {
		this.results = results;
	}
	
}
